import request from '@/utils/request'

// 查询产品效期月代码详细列表
export function listProjectReagentMonthDetail(query) {
  return request({
    url: '/product/projectReagentMonthDetail/list',
    method: 'get',
    params: query
  })
}

// 查询产品效期月代码详细详细
export function getProjectReagentMonthDetail(tempId) {
  return request({
    url: '/product/projectReagentMonthDetail/' + tempId,
    method: 'get'
  })
}

// 新增产品效期月代码详细
export function addProjectReagentMonthDetail(data) {
  return request({
    url: '/product/projectReagentMonthDetail',
    method: 'post',
    data: data
  })
}

// 修改产品效期月代码详细
export function updateProjectReagentMonthDetail(data) {
  return request({
    url: '/product/projectReagentMonthDetail',
    method: 'put',
    data: data
  })
}

// 删除产品效期月代码详细
export function delProjectReagentMonthDetail(tempId) {
  return request({
    url: '/product/projectReagentMonthDetail/' + tempId,
    method: 'delete'
  })
}

// 导出产品效期月代码详细
export function exportProjectReagentMonthDetail(query) {
  return request({
    url: '/product/projectReagentMonthDetail/export',
    method: 'get',
    params: query
  })
}